package homework;

public class StringReverse {
	public static void main(String args[]){
		
		String original=new String("This is an original String");
        StringReverse ob=new StringReverse();
        ob.revmeth(original);
        
	}

public void revmeth(String reverse){
	
	reverse=new StringBuffer(reverse).reverse().toString();
	System.out.println("The reverse string is:");
	System.out.println(reverse);
	
}

}